package com.gsmr.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gsmr.dao.BS_infoDao;
import com.gsmr.entity.BS_info;
import com.gsmr.service.BS_infoService;

/**
 * 用户Service实现类
 * @author user
 *
 */
@Service("bS_infoService")
public class BS_infoServiceImpl implements BS_infoService{

	@Resource
	private BS_infoDao bsInfoDao;

	public List<BS_info> findRouteNames(Map<String, Object> map) {
		return bsInfoDao.findRouteNames(map);
	}
	
	public List<String> findFrontProcessorIds(Map<String, Object> map) {
		return bsInfoDao.findFrontProcessorIds(map);
	}

	@Override
	public List<BS_info> find(Map<String, Object> map) {
		return bsInfoDao.find(map);
	}

	@Override
	public Long getTotal(Map<String, Object> map) {
		return bsInfoDao.getTotal(map);
	}

	@Override
	public void delete(Map<String, Object> map) {
		bsInfoDao.delete(map);
	}

	@Override
	public List<BS_info> findByRegionIds(Map<String, Object> map) {
		return bsInfoDao.findByRegionIds(map);
	}

	@Override
	public int add(Map<String, Object> map) {
		return bsInfoDao.add(map);
	}

	@Override
	public int update(Map<String, Object> map) {
		return bsInfoDao.update(map);
	}

	@Override
	public BS_info findByRegionId(Map<String, Object> map) {
		return bsInfoDao.findByRegionId(map);
	}
}